﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>
<head>
<title>东方易云后台管理系统</title>
<style>
body {
	background: #f5f5f5;
}
</style>
</head>
<script language="javascript">
	function reSend() {
		var errorMsg = "";
		errorMsg += sl_check($("#fcRecvRawMsgIdSelected")[0], "报文ID", 200, 1);

		if (errorMsg != "") {
			alert(errorMsg);
		} else {
			if (sl_confirm("重发报文： " + $("#fcRecvRawMsgIdSelected").val(), null)) {
				document.selectForm.action = "messageReSend";
				document.selectForm.submit();
			}
		}
	}
</script>
<body>
	<div id="body-wrapper">
		<!-- Wrapper for the radial gradient background -->
		<div id="main-content">
			<!-- Main Content Section with everything -->
			<!-- Page Head -->
			<div id="page-title">
				<h3>错误报文重发</h3>
			</div>
			<div class="pgline"></div>
			<div class="notification querytj png_bg">
				<div>
					<form method="post" action="messageErrorQuery" id="selectForm"
						name="selectForm">
						<input type="hidden" id="fcRecvRawMsgIdSelected"
							name="fcRecvRawMsgIdSelected"
							value="<c:out value="${dataxParseRawMsgVO.fcRecvRawMsgId}"/>" />
						<table width="100%" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="11%" height="35" align="right">&nbsp;&nbsp;报文ID：
								</td>
								<td width="23%"><input type="text" name="fcRecvRawMsgId"
									id="fcRecvRawMsgId" class="input2" value="<c:out value="${fcRecvRawMsgId}" />"/></td>
								<td width="66%"><div>
										<a class="button" href="javascript:void(0);"
											onclick="$('#selectForm').submit();">查询</a>
									</div></td>
							</tr>
						</table>
					</form>
				</div>
			</div>

			<div class="clear"></div>

			<div class="notification querytj png_bg">
				<div>
					<table width="100%" border="0" align="center" cellpadding="0"
						cellspacing="0">
						<tr>
							<td width="14%" height="35" align="right">报文编号：</td>
							<td width="35%"><c:out value="${dataxParseRawMsgVO.fcMessageId}"/></td>
							<td width="16%" align="right">发送时间：</td>
							<td width="35%"><fmt:formatDate value="${dataxParseRawMsgVO.fdBackUpTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
						</tr>
						<tr>
							<td width="14%" height="35" align="right">发 送 方：</td>
							<td width="35%" height="35"><c:out value="${dataxParseRawMsgVO.fcSenderId}"/></td>
							<td width="16%" align="right">接 收 方：</td>
							<td width="35%"><c:out value="${dataxParseRawMsgVO.fcReceiverId}"/></td>
						</tr>

						<tr>
							<td height="35" align="right">报文类型：</td>
							<td><c:out
									value="${catagoryMessageTypeMap[fn:trim(dataxParseRawMsgVO.fcMsgType)]}"></c:out></td>
							<td height="35" align="right">报文大小：</td>
							<td height="35"><c:out value="${dataxParseRawMsgVO.fiDataSize}"/></td>
						</tr>
						<tr>
							<td height="35" align="right">状 态：</td>
							<td><c:out
									value="${catagoryMessageStatusMap[fn:trim(dataxParseRawMsgVO.fiStatus)]}"></c:out></td>
							<td height="35" align="right">
							<td height="35">
						</tr>

						<tr>
							<td height="35" colspan="4" align="center"><div class="line">
									<a class="button" href="javascript:void(0);"
										onclick="reSend();">重发</a>
								</div></td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<!-- End #main-content -->
	</div>
</body>
</html>
